package mest.dao.hws;

import mest.entity.bom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BomDao {
    int deleteByPrimaryKey(@Param("theirDb") String theirDb,@Param("id") Integer id);

    int insert(@Param("theirDb") String theirDb,@Param("record") bom record);

    int insertSelective(@Param("theirDb") String theirDb,@Param("record") bom record);

    bom selectByPrimaryKey(@Param("theirDb") String theirDb,@Param("id") Integer id);

    int updateByPrimaryKeySelective(@Param("theirDb") String theirDb,@Param("record") bom record);

    int updateByPrimaryKey(@Param("theirDb") String theirDb,@Param("record") bom record);
}